<script>
  export default {
    onLaunch () {
			uni.hideTabBar()
      // 加载系统信息
			if(uni.getStorageSync('AccessToken')) {
				uni.switchTab({
					url: '/pages/index/index'
				})
			} else {
				uni.switchTab({
					url: '/pages/login/index'
				})
			}
    },
    onShow () {
    },
    onHide () {
    }
  }
</script>

<style lang="scss">
@import "@/uni_modules/uview-ui/index.scss";
@import "@/static/style.scss";
</style>
